#ifndef PARSEREXCEPTION_H
#define PARSEREXCEPTION_H

#include <string>
#include <exception>
using namespace std;


class ParserException : public exception
{
        string error;
public:

    ParserException(const string& s)throw();

    virtual const char* what()throw(){return error.c_str();}

//destruction de l'exception
    virtual ~ParserException()throw(){}
};

#endif // PARSEREXCEPTION_H
